package com.example.lagoudocker;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.time.LocalDateTime;

@RestController
@RequestMapping("/hello")
public class HelloController {
    
    @GetMapping
    public String getHello(@RequestParam String req) {
        return LocalDateTime.now() + " -- " + req;
    }
    
}
